Of troops which have lost their leader or which are not trained, those that have lost their leader may be taken to fight under the leadership of a different person but not the troops which are not trained.
Removal of vices and troubles, recruitment (of new men), keeping away from places of an enemy's ambush, and harmony among the officers of the army, are the means of protecting the army from troubles.
—Kautilya, in the Arthaśāstra, 8.5:17-18